package io.wit.modules.dwz;

import cloud.dwz.entity.AuthEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;

@Mapper
public interface AuthDao{

    AuthEntity getUserInfo(final String userName);

    Long existUser(final String userName);

    int register(final HashMap<String, Object> params);

    int addUserRole(final HashMap<String,Object> roles);
}